package com.smart.pro;

import android.os.Bundle;

import com.google.android.maps.GeoPoint;
import com.google.android.maps.MapActivity;

public class MainActivity extends MapActivity {

	myMapView myMapView;

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_main);
		myMapView = (myMapView)findViewById(R.id.mymapview);

		GeoPoint myPoint1 = new GeoPoint(0*1000000, 0*1000000);
		myMapView.addMarker(myPoint1, "myPoint1", "myPoint1");
		GeoPoint myPoint2 = new GeoPoint(50*1000000, 50*1000000);
		myMapView.addMarker(myPoint2, "myPoint2", "myPoint2");
	}

	@Override
	protected boolean isRouteDisplayed() {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	protected void onPause() {
		// TODO Auto-generated method stub
		super.onPause();
		myMapView.callOnPause();
	}

	@Override
	protected void onResume() {
		// TODO Auto-generated method stub
		super.onResume();
		myMapView.callOnResume();
	}

}